Welcome![Sign In][Sign Up]
Location:
Search - input d

Search list

[Other用c编写的N*N的螺旋矩阵源代码

Description:

/*
实现效果:
1 2 6 7 15
3 5 8 14 16
4 9 13 17 22
10 12 18 21 23
11 19 20 24 25
*/
#include <stdio.h>
#define N 5 //阶数,即N*N的螺旋矩阵

void main()
{
    int i, j, num=1, a[N][N];
    for(i=0; i<=N/2; i++)
    {
        for(j=i; j<N-i; j++) a[i][j]=n++;
        for(j=i+1; j<N-i; j++) a[j][N-i-1]=n++;
        for(j=N-i-2; j>i; j--) a[N-i-1][j]=n++;
        for(j=N-i-1; j>i; j--) a[j][i]=n++;
    }
    for(i=0; i<N; i++)
    {
        for(j=0; j<N; j++)
            printf("%2d ",a[i][j]);
        printf("\n");
    }
}
    

 

不知道叫什么,先叫它“回宫图”吧
年初的时候在贴吧瞎逛,看到了一个程序挺有意思,会输出如下的形状:
01 24 23 22 21 20 19
02 25 40 39 38 37 18
03 26 41 48 47 36 17
04 27 42 49 46 35 16
05 28 43 44 45 34 15
06 29 30 31 32 33 14
07 08 09 10 11 12 13
仔细看这个形状,数字是按顺序往里回旋的,觉得很有创意,可是一看源代码头就大了,
每个编程人都知道看别人的代码是很困难的,尤其像这种不知道思路的,所以也就放下
没管了。
昨天上物理课实在是没心思听,就想起这个程序,想了一节课,果然不负有心人,给弄出来了,这个是增强版的,可以输入1-10中的任意个数,然后生成图形。
先看代码,没有注释,所以不好看的懂。
#include<stdio.h>
main()
{
       int n,m,i,j,t,k=1;
       int a[11][11];
       clrscr();
       do{
       printf("please input a number(1-10):");
       scanf("%d",&n);
       }while(n<1||n>10);
       t=n+1;
       for(m=1;m<=t/2;m++)
         {
           for(i=m;i<=t-m;i++)
             {a[i][m]=k;k++;}
           for(j=m+1;j<=t-m;j++)
             {a[i-1][j]=k;k++;}
           for(i=n-m;i>=m;i--)
             {a[i][j-1]=k;k++;}
           for(j=n-m;j>=m+1;j--)
             {a[i+1][j]=k;k++;}
         }
       for(i=1;i<=n;i++)
         {
           for(j=1;j<=n;j++)
             {
               if(a[i][j]<=9) printf("0%d ",a[i][j]);
               else printf("%d ",a[i][j]);       }
           printf("\n");
         }
       getch();
}
就是这样的。


可以更简洁些:

#include<stdio.h>
main()
{
       int n,m,i,j,t,k=1;
       int a[11][11];
       clrscr();
       do{
       printf("please input a number(1-10):");
       scanf("%d",&n);
       }while(n<1||n>10);
       t=n+1;
       for(m=1;m<=t/2;m++)
         {
           for(i=m;i<=t-m;i++)
             a[i][m]=k++;
           for(j=m+1;j<=t-m;j++)
             a[i-1][j]=k++;
           for(i=n-m;i>=m;i--)
             a[i][j-1]=k++;
           for(j=n-m;j>=m+1;j--)
             a[i+1][j]=k++;
         }
       for(i=1;i<=n;i++)
         {
           for(j=1;j<=n;j++)
             {
               if(a[i][j]<=9) printf("0%d ",a[i][j]);
               else printf("%d ",a[i][j]);       }
           printf("\n");
         }
       getch();
}

 


 #include <stdio.h>
#define N 8
main(){
 int i,j,n=1,a[N][N];
 for(i=0;i<=N/2;i++){
  for(j=i;j<N-i;j++)
   a[i][j]=n++;
  for(j=i+1;j<N-i;j++)
   a[j][N-i-1]=n++;
  for(j=N-i-2;j>i;j--)
   a[N-i-1][j]=n++;
  for(j=N-i-1;j>i;j--)
   a[j][i]=n++;
 }
 for(i=0;i<N;i++){
  printf("\n\n");
  for(j=0;j<N;j++)
   printf("%5d",a[i][j]);
 }
}
 

 


                                马踏棋盘问题


#include <stdio.h>
#define N 5
void main(){
 int x,y;
 void horse(int i,int j);
 printf("Please input start position:");
 scanf("%d%d",&x,&y);
 horse(x-1,y-1);
}
void horse(int i,int j){
 int a[N][N]={0},start=0,
  h[]={1,2,2,1,-1,-2,-2,-1},
  v[]={2,1,-1,-2,2,1,-1,-2},
  save[N*N]={0},posnum=0,ti,tj,count=0;
 int jump(int i,int j,int a[N][N]);
 void outplan(int a[N][N]);
 a[i][j]=posnum+1;
 while(posnum>=0){
  ti=i;tj=j;
  for(start=save[posnum];start<8;++start){
   ti+=h[start];tj+=v[start];
   if(jump(ti,tj,a))
    break;
   ti-=h[start];tj-=v[start];
  }
  if(start<8){
   save[posnum]=start;
   a[ti][tj]=++posnum+1;
   i=ti;j=tj;save[posnum]=0;
   if(posnum==N*N-1){
    //outplan(a);
    count++;
   }
  }
  else{
   a[i][j]=0;
   posnum--;
   i-=h[save[posnum>;j-=v[save[posnum>;
   save[posnum]++;
  }
 }
 printf("%5d",count);
}
int jump(int i,int j,int a[N][N]){
 if(i<N&&i>=0&&j<N&&j>=0&&a[i][j]==0)
  return 1;
 return 0;
}
void outplan(int a[N][N]){
 int i,j;
 for(i=0;i<N;i++){
  for(j=0;j<N;j++)
   printf("%3d",a[i][j]);
  printf("\n");
 }
 printf("\n");
 //getchar();
}
用回溯法得到所有的解,但效率较低,只能算出5行5列的

 


Platform: | Size: 4395 | Author: good@588 | Hits:

[Other resourcejaq

Description: /*  本程序实现的功能: 显示系统时间和日期    该程序主要操作是: 使用了dos的系统调用功能,输入大小写D显示系统当前日期,当输入大小写T输出当前系统时间,当输入大小写Q退出程序,当输入其他字符时,提示错误 。   主要算法:将系统时间及日期转化成字符显示,通过堆栈来排序显示,同时涉及到 坐标位置设置的转换。时间和日期的显示都只调用了一个(函数)compute,避免了代码的冗余,尽量做到简洁,同时当一次操作过后,程序处于等待状态,以进行下一次操作,而非自动退出。该程序显示时间时多次调用显示功能,以达到动态效果。*/-/ * This program features : The display system time and date of the program is the main operation : the use of the system call dos function, importation case-D display the current date, case-insensitive T when the input output current system, when the input Q withdraw from the case-sensitive procedure, when losers in other characters, suggesting error. The main algorithm : the system date and time into the characters, sorting through the stack to show that involves strategically placed to coordinate conversion. The time and date shown only a call (functions) compute avoid code redundancy, make it simple as possible, and at the same time after the operation, the procedure waits for the next operation, rather than retire. The program showed multiple calls time display, in order to achieve dy
Platform: | Size: 2671 | Author: 碧匀天 | Hits:

[Other438372汉字平台系统

Description: 本说明中包括在《C语言的窗口式图形界面技术》付梓之后对HANENV系统的最新修改。 我们为HANENV系统增加了一个新的输入法模块:双拼拼音模块,包括全拼双音、双拼双音和多字词的词组输入法。新的输入法模块为_SYmode,其使用方法和原来的拼音输入法类似。首先在应用程序的首部使用下列语句安装双音模块:-this note included in the "C language window-type graphical interface technology" to be released after the latest HANENV system changes. We HANENV system added a new input method modules : Larry Pinyin modules, including the spelling-sound, D. Two-Tone word phrase more input methods. The new input method modules _SYmode, the use of methods and the original Pinyin input method similar. First applications in the first installation to use the following two sentences sound modules :
Platform: | Size: 1849406 | Author: 物语 | Hits:

[Other resource9200send

Description: DTMF编码芯片HT9200的51接口程序。输入参数R2表示发送数据个数,输入数据与发送数据与DTMF码的关系:00H-0 01H-1 02H-2 03H-3 04H-4 05H-5 06H-6 07H-7 08H-8 09H-9 0AH-A 0BH-B 0CH-C 0DH-D 0EH-* 0FH-#。详细说明参考文件内-DTMF encoder chip HT9200 51 interface program. R2 said input parameters to send data distribution, data entry and send data with the DTMF code : 00H-0 01H - 02H-2 Mr - 3 in the 04H-4 05H-5 06H-6 07H-7 08H-8 7-9 0AH-A 0BH - 0CH B-C 0DH-D 0EH-* 0FH-#. Detailed information paper
Platform: | Size: 1314 | Author: 许赞龙 | Hits:

[Other录入编辑

Description: A) 实现虚拟存储B) 实现对文件的按名存取C) 实现对文件的按内容存取D) 实现对文件的 高速输入输出(17) 分页显示当前文件 ... A) 执行SPLIB B) 执行SPDOS C) 装载拼音模块D) 装载五笔字型输入模块(32) 在汉字输入状态下,按下Shift+a组合键后,输入了__。-A) Virtual Storage B) the realization of the documents were accessed by C) achieved by the paper's content access D) to achieve high-speed document input and output (17) displaying the current document ... A) The Executive SPLIB B) implementation SPDOS C) loading fight audio Module D) loading WBZX module (32) in the state of inputting Chinese characters by pressing a combination of keys Shift, the importation of __.
Platform: | Size: 44212 | Author: 蒋磊 | Hits:

[Otherwarshall

Description: a、要求已知一个关系矩阵R,利用warshall算法求它的闭包R+ b、有良好的用户界面 c、有一个用于演示warshall算法的demo关系矩阵 d、能够求出用户输入的任何关系矩阵的闭包 e、能够将用户要求的结果清晰的显示在终端上 -a, a requirement known matrix R, warshall algorithm for the use of its closure R b, a good user interface c, an algorithm for demonstrating warshall demo matrix d, user input can be obtained in any relationship matrix Closure e, can be user requirements the results clearly show that the terminal
Platform: | Size: 7634 | Author: 张大鹏 | Hits:

[Internet-Networksubr

Description: VHDL 8位无符号除法器 试验报告 计算前在A和B端口输入被除数和除数,然后在Load线上送高电平,把数据存到除法计算电路内部,然后经过若干个时钟周期,计算出商和余数,并在C和D端输出。 其实现方法是,将除法器分为两个状态:等待状态与运算状态。 开始时除法器处于等待状态,在该状态,在每一时钟上升沿,采样Load信号线,若是低电平,则仍处于等待状态,如果采样到高电平,除法器读取A,B数据线上的输入数据,保存到内部寄存器a_r,b_r,置c_r为0,d_r为a_r,判断除数是否为零,若不为零则进入运算状态。 -VHDL eight unsigned divider calculation of the test report before the A and B ports to import and dividend divider, and then sent to I Load line, the data are uploaded to the internal division calculation circuit, and then after a number of clock cycles, and worked out more than a few, and in the C-and D output. Their method is to be divided into two division for the state : waiting for the state and Operational state. At the beginning divider waiting for the state, in the state in each clock rising edge, sampling Load signal line, if low-level, it is still waiting for the state, if the sampling to allow high output, Divider read A, B online data input data, preservation of the internal registers renovation r, b_r, home c_r 0, d_r a_r to determine whether the divisor zero, if not zero, it
Platform: | Size: 83109 | Author: aa | Hits:

[Windows Develop全国交通咨询系统

Description: 一 题目 全国铁路交通咨询系统 二 需求分析 1.系统配制: 硬件:CPU:P4 1.6G 内存容量 256M 标准输入输出设备 软件:操作系统Windows xp 源程序调试工具VC6.0 可执行文件运行工具 DOS 5.0. 2.该系统有供用户选择的菜单和交互性。 3.建立一个全国铁路交通咨询系统,该系统具备自动查找任意两城市间铁路交通的最短路径和最少花费的功能。 三 设计概要 1.抽象数据类型 本程序运用了关于图这种数据结构。 他的抽象数据类型定义如下: typedef struct unDiGraph { int numVerts //结点 costAdj cost //邻接矩阵 }unDiGraph,*UNG 基本操作: unDiGraph* CreateCostG() 操作结果:构造带权(费用)图。 unDiGraph* CreateTimeG() 操作结果:构造带权(时间)图。 PathMat *Floyed(unDiGraph *D) 操作结果:Floyed函数 求任意两点的最短路径。 -a subject of the national railway traffic advisory system analysis of a two needs. Preparation System : Hardware : CPU : P4 1.6 GHz 256 MB of memory standard input and output device software : Windows XP operating system source code debugging tools VC6.0 executable file running DOS 5 tools. 0. 2. The system is available for users to choose the menu and interactive. 3. The establishment of a national rail traffic advisory system, the system automatically search with arbitrary two inter-city rail traffic and the shortest path to the function at the lowest cost. Three design an outline. This abstract data type procedures on the use of this data structure map. His abstract data type is defined as follows : typedef struct (int unDiGraph numVerts / / node costAdj cost / / adjacency matrix) unDiG
Platform: | Size: 56930 | Author: gang | Hits:

[Browser Client0691

Description: dotnetadsql 原来的程序缺少了部分数据库及部分代码,小宝.NET已经自行补全了一些核心 代码,已经调试通过了,具体安装过程如下: 1.启动SQL,新建一名为ad的数据库并导入ad.sql及user.sql生成ad及net_user 两个数据表格,然后在net_user表格中增加一管理员记录,user_id字段为:adm in,password字段及e_mail字段自己喜欢填什么就填什么。 2.修改linkstr.cs文件里的SQL2000数据库连接字符为你数据库的连接字符,然 后使用CSC编译linkstr.cs文件,假设你的linkstr.cs放在D盘根目录,操作系统 安装在C:/winnt/目录下的话,就在运行栏下输入并运行以下命令: C:\\WINNT\\Microsoft.NET\\Framework\\v1.0.3705\\csc /t:library d:\\linkstr.cs 这样则会在C:\\WINNT\\Microsoft.NET\\Framework\\v1.0.3705\\目录下生成一个名 为linkstr.dll的组件,把这个DLL组件覆盖广告管理系统bin目录下同名文件即可 3.设置ad目录为虚拟目录,然后浏览运行login.aspx文件,填入刚才在SQL设置的 管理员名称及密码即可登录进管理系统增加广告-dotnetadsql original lack of procedures and some part of the database code, Xiaobao.NET has its own complement of some of the core code, debugging has been adopted, the specific installation process is as follows : 1. start SQL, an ad for the new database and import ad.sql and user.sql generation ad and net_us er two data tables, and then increase net_user form a caretaker records, user_id field : adm in, password field and the Lord filled the field what he likes on what filled. 2. Changes linkstr.cs documents in the SQL2000 database connectivity for your characters database connectivity characters and then use the compiler linkstr.cs CSC, Suppose your linkstr.cs on D NOTE, the operating system installed on the C : / winnt / directory, then run under the column of input and run the follow
Platform: | Size: 37154 | Author: 大军 | Hits:

[assembly language汇编注册登陆程序

Description: 汇编语言实现的简易登陆系统, 1、用户登陆:用户通过输入已注册的用户名和密码登陆,输入正确显示功能界面,否则显示重输提示。 2、注 册 :在登陆输入用户名时,通过输入‘new’来注册新用户。当注册新用户名已经存在时,则 提示重新输入。 3、功能界面:修改当前登陆用户的密码,显示所有已注册用户的信息,退出程序。 4、数据保存:以文件形式保存在D:\\users.dat,每个记录30个字节,每个记录包含两个字段,用户 名(20B)和密码(10B)。 -compilation of simple language landing system, a user landing : users input registered user name and password landing, the correct display interface, heavy losers showed otherwise suggest. 2, registration : the landing enter a user name, through the importation of 'new' to register new users. When registering a new user name already exists, then suggested re-importation. 3, the functional interface : modification of the current landing user passwords, showing all registered users of the information, the withdrawal procedure. 4, data retention : in the document kept in the form D : \\ users.dat, each recorded 30 bytes each record contains two fields, user name (20B) and password (10B).
Platform: | Size: 4825 | Author: 俞薛永 | Hits:

[assembly language显示日期时间

Description: 在出现的提示信息中输入大写字母“D”,可 显示系统当前日期;输入大写字母“T”,可显示系统当前时间;输入大写字母 “Q”,可结束程序。-in the message input capital letters "D" will show that the current system date; the importation of capital letters "T" will show that the current system; the importation of capital letters "Q" may end the proceedings.
Platform: | Size: 2183 | Author: zsx | Hits:

[Other resourceaduc7000_pwm

Description: This project is created using the Keil ARM CA Compiler. The Logic Analyzer built into the simulator may be used to monitor and display any variable or peripheral I/O register. It is already configured to show the PWM output signal on PORT3.0 and PORT3.1 This ARM Example may be debugged using only the uVision Simulator and your PC--no additional hardware or evaluation boards are required. The Simulator provides cycle-accurate simulation of all on-chip peripherals of the ADuC7000 device series. You may create various input signals like digital pulses, sine waves, sawtooth waves, and square waves using signal functions which you write in C. Signal functions run in the background in the simulator within timing constraints you configure. In this example, several signal functions are defined in the included Startup_SIM.INI file. -This project is created using the Keil ARM C A Compiler. The Logic Analyzer built into the si mulator may be used to monitor and display any va riable or peripheral I / O register. It is alread y configured to show the PWM output signal on POR T3.0 and ARM Example PORT3.1 This may be debugge d using only the kernels Simulator and your PC -- no additional hardware or evaluation boards ar e required. The Simulator provides cycle-accu rate simulation of all on-chip peripherals of t he ADuC7000 device series. You may create VARIO input signals us like digital pulses, sine waves, and sawtooth waves. square waves and using signal functions which y ou write in C. Signal functions run in the backgr in the simulator is within timing constraint s you configure. In this example, several signal functi
Platform: | Size: 8599 | Author: 郭文彬 | Hits:

[Other resourcest10f166_adc

Description: This example program shows how to configure and use the A/D Converter of the following microcontroller: STMicroelectronics ST10F166 After configuring the A/D, the program reads the A/D result and outputs the converted value using the serial port. To run this program... Build the project (Project Menu, Build Target) Start the debugger (Debug Menu, Start/Stop Debug Session) View the Serial Window (View Menu, Serial Window #1) View the A/D converter peripheral (Peripheral Menu, A/D Converter) Run the program (Debug Menu, Go) A debug script (debug.ini) creates buttons that set different analog values in A/D channels. As the program runs, you will see the A/D input and output change. Other buttons create signals that generate sine wave or sawtooth patterns as analog inputs. µ Vision3 users may enable the built-in Logic Analyzer to view, measure and compare these input signals graphically.-This example shows how to program configur e and use the A / D Converter of the following MICR ocontroller : STMicroelectronics ST10F166 After configuri ng the A / D, the program reads the A / D and outputs the result converted value using the serial port. To run th Build program ... is the project (Project Menu, Build Target) Start the debugger (Debug Menu, Start / Stop Debug Session) View the Serial Wind ow (View Menu, Serial Window # 1) View the A / D converter Periph General (Peripheral Menu, A / D Converter) Run the program (Debug Menu, Go) A debug script (debug.ini) creates buttons that set different analog values in A / D channel s. As the program runs, you will see the A / D input and output change. Oth er buttons create signals that generate sine wa ve or sawtooth patterns as anal
Platform: | Size: 19077 | Author: 郭文彬 | Hits:

[Other resourcepathloss&gnoise

Description: cp0801_pathloss为UWB信道损耗计算函数,利用a=(c/(d^gamma))计算出信道增益,然后对函数的输入信号幅度进行变换得到输出结果。 cp0801_Gnoise1和cp0801_Gnoise2为产生AWGN的函数,分别为Eb/No和Ex/No条件下AWGN的产生-cp0801_pathloss for UWB channel depletion calculation function, use a = (c / (d ^ gamma)) calculated Channel Gain, then the function of the input signal range for transform output. Cp0801_Gnoise1 and AWGN cp0801_Gnoise2 to generate the function, for Eb / No and Ex / No conditions for the selection of AWGN
Platform: | Size: 1739 | Author: 贾凯 | Hits:

[Other resource机器语言实现三维动画

Description: 下载1.txt后保存到本地硬盘!然后开始——运行——输入command 进入DOS环境 输入debug<d:\\1.txt 回车(假定文件1.txt保存在D盘根目录) 就可以看见三维动画了!还有音乐哦-download 1.txt keeping to the local hard disk! Then they start -- running -- the importation into the DOS command input debug environment
Platform: | Size: 6779 | Author: 张直接 | Hits:

[Windows Develop24pointer

Description: 这是我写的第一个程序。网上有很多计算24点的程序,我这个也是先得到操作符的组合,以及输入的4个数的可能组和,先算不带括号的4X4X4X4X24种可能结果,但在形成带括号的算式以验证结果时,(带括号只有(a@b@c)@d,a@(b@c@d),(a@b)@(c@d),(a@b)@c@d,a@(b@c)@d,a@b@(c@d)6种形式不会出现嵌套 )通过总结得出一个结论:括号中符号不能同时为*,/ 括号周围符号不能同时为+,-;否则括号可省略 于是有了判断各类型的相应代码。-I wrote this is the first procedure. Many online calculation of 24 points, I would be the first of the composition operator, the four input and the number of groups and may, it is not a first bracketed 4X4X4X4X24 possible, but the formation of the bracketed formula to verify the results, (bracketed only (a b @ @ c) @ d, a @ (b @ c @ d), (a @ b) @ (c @ d), (a @ b) @ c @ d, a @ (b @ c) @ d, a @ @ b (c @ d) 6 forms no nested) draws a conclusion : brackets can also symbols for * / brackets around the same time, not for symbols, -; brackets can be omitted otherwise there has been a judgment of the corresponding type of code.
Platform: | Size: 1877 | Author: 天外仙人 | Hits:

[OtherAiroha.AB1500_FamilyMPTool_20141104_3.5.5.0

Description: 温度范围 -40篊 to +80篊 无线传输范围 >10 米 传输功率 支持 CLASS2 灵敏度 -80dBm 频率范围 2.402GHz-2.480GHz 对外接口 PIO, UART 音频性能 单声道 音频信噪比 ≥75dB 失真度 ≤0.1% 模块尺寸 29.0X15.0X2.00mm(1 NC NC NC 2 AOHPM Audio Headphone common mode output/sense input. 3 AOHPL Audio L-channel analog headphone output 4 PVDD Power Supply voltage of audio amplifier 5 HPON class-D Negative BTL output of audio amplifier 6 HPOP class-D Positive BTL output of audio amplifier 7 MIC_N1 Audio MIC 1 mono differential analog negative input 8 MIC_P1 Audio MIC 1 mono differential analog positive input 9 MIC_BIAS Power Electric microphone biasing voltage 10 NC NC NC 11 AIL Audio L-channel single-ended analog inputs 12 RST Digital System Reset Pin 13 PO1 Digital GPIO, default pull-high input FWD key 14 P04 Digital GPIO, default pull-high input. MUTE I/O or NFC detection pin 15 GND Power Ground)
Platform: | Size: 3519488 | Author: rainbow1888 | Hits:

[Otherd

Description: <ul> * <li>界说变量与参数:输入变量x、权值变量w、偏置因子b,实践输出y、期望输出d和学习率参数c</li> * <li>初始化:n和权值w</li> * <li>输入练习样本,对每个练习样本拟定期望输出</li> * <li>核算实践输出y=sgn(w*x+b)</li> * <li>更新权值向量w(n+1)=w(n)+c[d-y(n)]*x(n)</li> 0<c<1 * <li>判别,假如满足收敛条件,算法完毕。不然回来3</li>(* <li> definition of variables and parameters: input variables X, W, variable power offset factor B, y, D output practice expected output and learning rate parameter c</li> * <li> initialization: N and weight w</li> * <li> input practice sample, for each sample to exercise the expected output of </li> * <li> accounting practice output y=sgn (w*x+b) </li> * <li> update the weight vector w (n+1) =w (n) +c[d-y (n)]*x (n) </li> 0<c<1 * <li> discriminant, if meet the convergence condition, the algorithm is completed. Come back, 3</li>)
Platform: | Size: 1024 | Author: haohaolinfen | Hits:

[CSharpC#编程

Description: 在键盘上接收用户输入的15个整数数值,输入完成后,接收用户输入的指令,如果用户输入a(大小写不区分)升序排列,如果输入d(大小写不区分)降序排列,否则提示用户重新输入指令,输出排序前与排序后的数列内容。(, on the keyboard to receive 15 integer value of user input, the input is completed, receiving the command input by the user, if the user input a (not case distinction) in ascending order, if the input D (not case distinction) in descending order, or prompt the user to input, output and content of the sorted sequence before ordering the.)
Platform: | Size: 39936 | Author: macile | Hits:

[OtherA memory and area‑efficient distributed arithmetic based modular VLSI architecture of 1D/2D reconfigurable 9/7 and 5/3 D

Description: In this article, we have proposed the internal architecture of a dedicated hardware for 1D/2D convolution-based 9/7 and 5/3 DWT filters, exploiting bit-parallel ‘distributed arithmetic’ (DA) to reduce the computation time of our proposed DWT design while retaining the area at a comparable level to other recent existing designs. Despite using memory extensive bitparallel DA, we have successfully achieved 90% reduction in the memory size than that of the other notable architectures. Through our proposed architecture, both the 9/7 and 5/3 DWT filters can be realized with a selection input, mode. With the introduction of DA, we have incorporated pipelining and parallelism into our proposed convolution-based 1D/2D DWT architectures. We have reduced the area by 38.3% and memory requirement by 90% than that of the latest remarkable designs. The critical-path delay of our design is almost 50% than that of the other latest designs. We have successfully applied our prototype 2D design for real-time image decomposition. The quality of the architecture in case of real-time image decomposition is measured by ‘peak signal-to-noise ratio’ and ‘computation time’, where our proposed design outperforms other similar kind of software- and hardware-based implementations.
Platform: | Size: 3442321 | Author: nalevihtkas | Hits:
« 1 2 3 4 56 7 8 9 10 ... 43 »

CodeBus www.codebus.net